package com.slz3.business.module.systemManagement.sysUser.service;

import com.slz3.business.module.systemManagement.sysUser.domain.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface SysUserService {

    SysUser save(SysUser sysUser);

    Page<SysUser> page(MultiValueMap<String,String> queryParams);

    SysUser modify(SysUser sysUser);

    Optional<SysUser> single(UUID uuid);

    List<SysUser> findAllByUuids(Iterable<UUID> uuids);

    List<SysUser> delete(List<SysUser> sysUserList);

    List<SysUser> findAll(SysUser param);
}
